home *** CD-ROM | disk | FTP | other *** search
- case $CONFIG in
- '') . config.sh ;;
- esac
- outputfile=vms4.cf
- rm -f $outputfile.$$
- echo "Creating $outputfile (with variable substitutions)"
- if cat >$outputfile.$$ <<!GROK!THIS!
- # RCSid[] = "@(#)$Header: vms4.SH,v 3.0 86/09/26 10:14:12 pb Rel $"
- #
- ##################################################
- ##################################################
- ##############
- ############## configure for VMS 4 output
- ##############
- ##################################################
- ##################################################
-
- # the directory to search for files in
-
- directory $datadir
-
- # enable tracing
- verbose 1
-
- # output format
- output vms4
-
- comment vms4hdr.file
-
- # context subnet
- # name
- context Mail JANET
- context FTP JANET
- context X29 JANET
- context TS29 JANET
- context JTMP JANET
- !GROK!THIS!
- then if cmp $outputfile $outputfile.$$ > /dev/null 2>& 1
- then
- rm -f $outputfile.$$
- echo " " $outputfile not affected
- elif mv $outputfile.$$ $outputfile
- then
- echo " " $outputfile updated
- else
- echo "+++ " $outputfile left in $outputfile.$$
- fi
- else
- echo " " Failed to create $outputfile.$$
- fi
-